BEGIN:VCARD
VERSION:3.0
PRODID;VALUE=TEXT:-//Sabre//Sabre VObject 4.4.2//EN
UID:{{ uid }}
N:{{ last_name or "" }};{{ first_name or "" }};;;
FN:{{ full_name }}
ADR;TYPE=WORK:;;{{ address_line1 or "" }};{{ city or "" }};{{ state or "" }};{{ pincode or "" }};{{ country or "" }}
{%- for email in email_ids %}
EMAIL;TYPE=WORK:{{ email.email_id or "" }}
{%- endfor -%}
{%- for phone in phone_nos %}
TEL;TYPE=WORK,VOICE;VALUE=UNKNOWN:{{ phone.phone }}
{%- endfor %}
{%- if note %}
NOTE:{{ note }}
{%- endif %}
REV;VALUE=DATE-AND-OR-TIME:{{ ts }}
END:VCARD
